"""Setup script for kwdb-sql-migrator package.

This file provides backward compatibility for older pip/setuptools versions
that may not fully support pyproject.toml.
"""
from setuptools import setup, find_packages

setup(
    name="kwdb-sql-migrator",
    version="0.1.0",
    description="MySQL to KWDB migration tool with SQLGlot-based parsing and transformation",
    author="Team",
    python_requires=">=3.9",
    packages=find_packages(exclude=["tests*", "sql*", "Migration_Report*"]),
    install_requires=[
        "sqlglot>=25.0.0",
        "pydantic>=2.7.0",
        "rich>=13.7.0",
        "kafka-python>=2.0.2",
        "psycopg2-binary>=2.9.0",
        "lz4>=4.3.3",
        "orjson>=3.9"
    ],
    entry_points={
        "console_scripts": [
            "kwdb-migrate=sqlmigration.cli:main"
        ]
    },
)

